home *** CD-ROM | disk | FTP | other *** search
/ BCI NET 2 / BCI NET 2.iso / archives / telecomm / misc / linkz88.lha / LinkZ88 / Source / structs.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-03-11  |  1001 b   |  57 lines

  1. /*****************************************
  2.  *************   structs.h   *************
  3.  *****************************************/
  4.  
  5. #define INTUI_V36_NAMES_ONLY
  6.  
  7. #include <exec/exec.h>            /* For the Amiga specific types */
  8. #include <libraries/commodities.h>    /* For CxObj */
  9. #include <intuition/intuition.h>
  10. #include <dos/dos.h>            /* For BPTR */
  11.  
  12. struct listviewdata{
  13.     struct Node node;
  14.  
  15.     char fname[STRLEN_ZFNAME];
  16.     char text[STRLEN_ZFNAME];
  17.  
  18.     zfiletype_e zfiletype;
  19. };
  20.  
  21. /*** Main project structure ***/
  22.  
  23. typedef struct project *prj_p;
  24.  
  25. struct project {
  26.     /* Serial port stuff */
  27.  
  28.     struct MsgPort *serial_msg_port;
  29.  
  30.     struct IOExtSer *serialio;
  31.  
  32.     BOOL serial_open;
  33.  
  34.     /* Listview stuff */
  35.  
  36.     struct listviewdata *listviewarray[MAX_LISTVIEW_ENTRIES];
  37.  
  38.     struct List listviewlist;
  39.  
  40.     /* Current Z88 path */
  41.  
  42.     char zpath[STRLEN_ZPATH];
  43.  
  44.     WORD zpathdepth;
  45.  
  46.     /* Amiga path */
  47.  
  48.     char path_binary_get[STRLEN_FNAME];
  49.     char path_binary_put[STRLEN_FNAME];
  50.  
  51.     /* Main window */
  52.  
  53.     BOOL blocked;
  54.  
  55.     struct Requester req;
  56. };
  57.